micro_utils.dokka
0.14.1
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.coroutines
/
[jvm]awaitFirst
await
First
jvm
suspend
fun
<
T
>
Iterable
<
Deferred
<
T
>
>
.
awaitFirst
(
scope
:
CoroutineScope
,
cancelOnResult
:
Boolean
=
true
)
:
T
suspend
fun
<
T
>
Iterable
<
Deferred
<
T
>
>
.
awaitFirst
(
cancelOthers
:
Boolean
=
true
)
:
T